package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.Linkage;
import net.mikoo.seals.model.LinkageQuery;

@MapperScan
public interface LinkageMapper {

	Integer insert(Linkage linkage);

	Integer update(Linkage linkage);

	Linkage selectInfoById(Long linkageId);

	List<Linkage> selectPageByQuery(LinkageQuery query);

	Integer countPageByQuery(LinkageQuery query);

	Linkage selectInfoByQuery(LinkageQuery query);
	
	List<Linkage> selectListByQuery(LinkageQuery query);

	Integer delete(Linkage linkage);
}
